The following Application has been created as an assigment for the Coursera Developing Data Products Course.
The Shiny Application can be found here: https://danhai00.shinyapps.io/ddp_assignment/
The GitHub repository with the relevant code can be found here: https://github.com/3Dan3/Coursera-Developing-Data-Products
The North American Free Trade Agreement is an agreement signed by Canada, Mexico, and the US.
The Application is designed to enable the user to interactively view how the GDP (Gross Domestic Product) per Capita changed over time in the NAFTA area. An interactive plot for the dataset gapminder let the user select up to 3 different countries in the date range: 1952 - 2007.
A slider bar enables the user to access the GDP per Capita data of any of the 3 countries for any interval of years from 1952 to 2007.
## # A tibble: 8 x 3
## year country gdpPercap
## <int> <fct> <dbl>
## 1 1997 Mexico 9767.
## 2 1992 Canada 26343.
## 3 1982 United States 25010.
## 4 1957 Canada 12490.
## 5 1972 Mexico 6809.
## 6 2007 Canada 36319.
## 7 1987 Canada 26627.
## 8 1957 Mexico 4132.
## Warning: `arrange_()` is deprecated as of dplyr 0.7.0.
## Please use `arrange()` instead.
## See vignette('programming') for more help
## This warning is displayed once every 8 hours.
## Call `lifecycle::last_warnings()` to see where this warning was generated.